#define _CRT_SECURE_NO_WARNINGS 1
#include"stack.h"
int main()
{
	stack st;
	stack_init(&st);
	stack_push(&st, 1);
	stack_push(&st, 2);
	stack_push(&st, 3);
	stack_push(&st, 4);
	stack_push(&st, 5);
	while (!stack_empty(&st))
	{
		printf("%d ", stack_Top(&st));
		stack_pop(&st);
	}
	

	return 0;
}